home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Utilities
/
BackSpace
/
Source
/
Password.h
< prev
next >
Wrap
Text File
|
1993-07-14
|
681b
|
36 lines
#import <objc/Object.h>
#import "Thinker.h"
#define LEN (40)
@interface Password:Object
{
id infoText;
id contentBox;
id window;
id clearText;
char password[LEN];
char attempt1[LEN];
char attempt2[LEN];
BOOL lockEnabled;
BStimeval lastPasswordTime;
}
void safe_strcpy(char *to, const char *from);
- setPassword:sender;
- attemptToSetPassword:(const char *)text;
- userTypedReturn:sender;
- (BOOL) checkPassword:(const char *)text randomPos:(BOOL)random
checkLock:(BOOL)check withView:aView;
- orderWindowToFront;
- randomWindowPosition;
- createWindow;
- activePauseWithView:aView;
- setLock:(BOOL)flag;
- (BOOL) isLocked;
- (BOOL) validPassword;
@end